package org.apogee.mil.client.main.pages.superuser.widgets;

import org.apogee.mil.client.factories.ServerServiceFactory;
import org.apogee.mil.client.utils.Session;
import org.apogee.mil.shared.User;

import com.extjs.gxt.ui.client.widget.ContentPanel;
import com.extjs.gxt.ui.client.widget.HorizontalPanel;
import com.extjs.gxt.ui.client.widget.button.Button;
import com.extjs.gxt.ui.client.widget.grid.ColumnConfig;
import com.google.gwt.user.client.ui.IsWidget;
import com.google.gwt.user.client.ui.Widget;

import java.util.ArrayList;

public class SuperUserUserWidget implements IsWidget {

	@Override
	public Widget asWidget() {
		User currentUser = ServerServiceFactory.getUser(Session.getSessionId());
		
		ContentPanel cp = new ContentPanel();
		cp.setHeading("Super User Options");
		cp.setBorders(true);
		
		HorizontalPanel hp = new HorizontalPanel();
		
		Button button = new Button("View Users Scores");
		
		ArrayList<ColumnConfig> configs = new ArrayList<ColumnConfig>();
		
		
		return null;
	}

}
